package mips.instruction;

import mips.Reg;
import mips.element.Instruction;

public class SLTU extends Instruction {
    private Reg rs;
    private Reg rt;
    private Reg rd;

    public SLTU(Reg rd, Reg rs, Reg rt) {
        this.rd = rd;
        this.rs = rs;
        this.rt = rt;
    }

    public Reg getRs() {
        return rs;
    }

    public Reg getRt() {
        return rt;
    }

    public Reg getRd() {
        return rd;
    }

    public String toString() {
        return "sltu\t" + rd + " " + rs + " " + rt;
    }
}
